<template>
	<view class="hint-block" @tap="hintClick">
		<view class="img center">
			<image :src="icon" class="auto-img"></image>
		</view>
		<view class="info">
			<view class="title">帮你吖商城</view>
			<view class="img-block">
				<view class="img center">
					<image :src="detailIcon" class="auto-img"></image>
				</view>
				<view class="txt">
					小程序认证
				</view>
			</view>
		</view>
		<view class="btn">
			店铺首页
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				icon: require('@/static/cart/icon.png'),
				detailIcon: require('@/static/detail/detailIcon.png'),
			}
		},
		methods: {
			hintClick() {
				
				this.$emit('hintClick')
			}
		}
	}
</script>

<style lang="scss">
	.hint-block {
		border-radius: 8rpx;
		background: #fff;
		margin-bottom: 40rpx;
		padding: 40rpx 24rpx;

		display: flex;
		align-items: center;

		.img {

			width: 115rpx;
			height: 115rpx;
			flex: none;
		}

		.info {
			flex: auto;
			margin-left: 18rpx;

			.title {
				font-size: 30rpx;
				font-weight: 700;
				color: rgba(27, 25, 25, 1);
			}

			.img-block {
				margin-top: 18rpx;
				display: flex;
				align-items: center;

				.img {
					width: 18rpx;
					height: 22rpx;

				}

				.txt {
					margin-left: 11rpx;
					font-size: 24rpx;
					font-weight: 400;
					color: rgba(153, 153, 153, 1)
				}
			}
		}

		.btn {
			flex: none;
			border-radius: 434rpx;
			width: 154rpx;
			line-height: 60rpx;
			background: linear-gradient(135.25deg, rgba(255, 207, 1, 1) 0%, rgba(255, 191, 0, 1) 100%);
			text-align: center;
			font-size: 24rpx;
			font-weight: 500;
			color: rgba(27, 25, 25, 1);
		}
	}
</style>
